package com.robot.dao.feigndto.chatdto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ChatTextStreamRequest {
    private String action;
    private Input input;
    private Config config;
    private String account_id;
    private String robot_id;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class Input {
        private String text;
        private String character_design;
        private List<String> embedding_strs;
        private List<History> history;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class History {
        private String role;
        private String content;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class Config {
        private double temperature;
    }

}
